package com.toutou.base.network

import com.toutou.base.been.ChatModule
import retrofit2.http.*

/**
 * 描述　: 网络API
 */
interface ApiService {

    @GET("/api/v1/auth")
    suspend fun auth(): ChatModule

    @POST("/api/v1/workspace/{slug}/chat")
    suspend fun sendMessage(@Path("slug") slug: String, @Body message: ChatModule): ChatModule


}

